namespace ApiContract.Domain
{
    /// <summary>
    /// 礼品卡使用历史记录
    /// </summary>
    public class GiftCardUsageHistory : BaseEntity<int>
    {
        /// <summary>
        /// 礼品卡Id
        /// </summary>
        public int GiftCardId { get; set; }

        /// <summary>
        /// 使用该礼品卡的订单Id
        /// </summary>
        public int UsedWithOrderId { get; set; }

        /// <summary>
        /// 本次使用金额
        /// </summary>
        public virtual decimal UsedValue { get; set; }

        /// <summary>
        /// 礼品卡
        /// </summary>
        public virtual GiftCard GiftCard { get; set; }

    }
}